Skip to content

fix(android): Device context in crash daemon events - #2355

Closed
jpnurmi wants to merge 2 commits into
jpnurmi/fix/android-os-contextfrom
jpnurmi/fix/android-device-context
Closed

jpnurmi wants to merge 2 commits into
jpnurmi/fix/android-os-contextfrom
jpnurmi/fix/android-device-context

Conversation

@jpnurmi

@jpnurmi jpnurmi commented Nov 30, 2026

Copy link
Copy Markdown
Collaborator

Inproc crashes are sent from the outbox by the Android SDK, which adds the device context. The crash daemon sends its events itself, so they had none.

Add the same static fields as the Android SDK:

Field Example Source
manufacturer Google ro.product.manufacturer
brand google ro.product.brand
model Pixel 8 Pro ro.product.model
model_id CP3A.261005.005 ro.build.id
family Pixel first word of model

Inproc crashes are sent from the outbox by the Android SDK, which adds
the device context. The crash daemon sends its events itself, so they
had none.

Add the same static fields as the Android SDK:

| Field          | Example           | Source                    |
|----------------|-------------------|---------------------------|
| `manufacturer` | `Google`          | `ro.product.manufacturer` |
| `brand`        | `google`          | `ro.product.brand`        |
| `model`        | `Pixel 8 Pro`     | `ro.product.model`        |
| `model_id`     | `CP3A.261005.005` | `ro.build.id`             |
| `family`       | `Pixel`           | first word of `model`     |
@jpnurmi
jpnurmi force-pushed the jpnurmi/fix/android-device-context branch from eb12972 to 15a5fd3 Compare November 30, 2026 11:38
@jpnurmi
jpnurmi changed the base branch from v1 to jpnurmi/fix/android-os-context November 30, 2026 11:39
@jpnurmi
jpnurmi added this pull request to stack #2356 November 30, 2026 11:39
@jpnurmi
jpnurmi removed this pull request from stack #2356 November 30, 2026 14:47
@jpnurmi

jpnurmi commented Nov 30, 2026

Copy link
Copy Markdown
Collaborator Author

Squashed to #2354 and included E2E tests

@jpnurmi jpnurmi closed this Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant